import { lazy } from 'react';
import { GenderMaleIcon } from 'tdesign-icons-react';
import { IRouter } from '../index';

const result: IRouter[] = [
  {
    path: '/payment',
    meta: {
      title: '购买管理',
      icon: 'buy',
    },
    children: [
      {
        path: 'index',
        Component: lazy(() => import('pages/order/payment')),
        meta: {
          title: '套餐订单',
        },
      },
      {
        path: '/wallet',
        Component: lazy(() => import('pages/order/wallet')),
        meta: {
          title: '钱包订单',
        },
      },
    ],
  },
];

export default result;
